package 面试;

import java.util.stream.Stream;

public class D4 {
    public int d;
    public static void main(String[] args) {
       Stream.of("zz","zzzz","zzzzzz","zzzzzzz")
               .mapToInt(String::length)
               .filter(len->len>3)
               .peek(System.out::println)
               .limit(2);
    }
}
